import React, { Component } from 'react'
import styles from './index.module.styl'
import 'particles.js'
import particlesConfig from './particlesConfig'

export default class PageLoaderLoading extends Component {
  componentDidMount() {
    window.particlesJS('particles', particlesConfig);
  }

  render() {
    return (
      <div id="particles" className={styles.loaderLoading}></div>
    )
  }
}
